Item Property

Summary
Gets or sets the value associated with the specified key.
Syntax
C#
VB
C++
public TValue Item( 
   TKey key 
) { get; set; } 
public: 
property TValue^ default [TKey^] { 
   TValue^ get(TKey^ key); 
   void set (TKey^ key, TValue^ ); 
} 
Public Default Property Item(ByVal key As TKey) As TValue 
   Get 
   Set 

Parameters

key
The key of the value to get or set.

Property Value

The value associated with the specified key. If the specified key is not found, a get operation throws a System.Collections.Generic.KeyNotFoundException, and a set operation creates a new element with the specified key.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.